The ImagickDraw class
PHP Manual

ImagickDraw::polygon

(PECL imagick 2.0.0)

ImagickDraw::polygonDraws a polygon

Descripción

bool ImagickDraw::polygon ( array $coordinates )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.

Lista de parámetros

coordinates

multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );

Valores retornados

Returns TRUE on success.


The ImagickDraw class
PHP Manual